#ifndef GEOPOLYGON_H
#define GEOPOLYGON_H
//geoObject
#include"geoobject.h"

class geoPolygon:public geoObject
{
public:
    geoPolygon();
    virtual ~geoPolygon() override;
    bool isPointWithin(QPointF) override;
    bool isPointOnLine(QPointF pt,QPointF end1,QPointF end2);
    bool isIntersect(QPointF pt1,QPointF pt2,QPointF end1,QPointF end2);
};

#endif // GEOPOLYGON_H
